package com.ruoyi.web.controller.xcx;

import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.system.domain.AVipRent;
import com.ruoyi.system.service.IAVipRentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/xcx/aVipRent")
public class XcxAVipRent extends BaseController {

    @Autowired
    private IAVipRentService aVipRentService;

    /**
     * 查询求租会员列表
     */
    @GetMapping("/list")
    public AjaxResult list() {
        return success(aVipRentService.selectAVipRentXcxList());
    }
}
